#define  _CRT_SECURE_NO_WARNINGS

#include "MyQueue.h"

void test1()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	QueuePush(&pq, 6);
	printf("%d\n", QueueSize(&pq));

	while (!QueueEmpty(&pq))
	{
		printf("%5d\n", QueueFront(&pq));
		QueuePop(&pq);
	}

	QueueDestroy(&pq);
}

int main()
{
	test1();
	return;
}